.Menu {
  :global {
    .ant-menu-submenu-title {
      height: 40px;
      line-height: 40px;
      padding-inline: 16px;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-inline: 4px;
      margin-block: 4px;
      width: calc(100% - 8px);
    }
    /* stylelint-disable */
    .ant-menu-submenu-title .anticon + span {
      margin-inline-start: 10px;
      opacity: 1;
      transition: opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), margin 0.3s,
        color 0.3s;
    }
    .ant-menu-title-content {
      flex: none !important; /* 覆盖flex: auto */
    }
  }
}
